The AGB system can display 2 windows simultaneously.
Display of the areas inside and outside the windows can be separately turned on and off.
In addition, scrolling and color special effects such as rotation, blending, and fade-in/fade-out can be performed for each window.
The Window Position Setting specifies the upper-left and lower-right coordinates of a rectangular area.
These settings specify the window's position and size.
When a non-rectangular window is displayed, the values of these registers are updated during H-blanking intervals.
Window Display Example
Window 0 has a higher display priority than Window 1.
The window control registers control operations such as turning window display on and off.
However, the master window display flag of the DISPCNT register has a higher priority than the WININ and WINOUT registers. For information concerning the DISPCNT register, see "5 Image System".
The WININ register controls display of the area inside windows 0 and 1. The high-order bits (d13-8) control Window 1, while the low-order bits (d5-0) control Window 0.
The WINOUT register controls display of the area outside the window. It controls both windows 0 and 1.
In addition, it controls display of the area inside the OBJ window.
WININ [d12-08][d04-00], WINOUT[d12-08][d04-00] Display Flags
Turns display of the OBJ and BG 3-0 on and off.
A setting of 0 turns display off, and 1 turns display on.
WININ [d13][d05], WINOUT[d13][d05] Color Special Effects Flags
A setting of 0 disables color special effects; 1 enables them. For information on color special effects, see "9 Color Special Effects".